package com.ulife.category.dao;

import java.sql.SQLException;
import java.util.List;

import com.ulife.category.dao.dataobject.PropertyDo;

public interface PropertyDao {

	Long insertProperty(PropertyDo prDo) throws SQLException;

	int updateProperty(PropertyDo prDo) throws SQLException;

	PropertyDo queryPropertyByPId(Long pId) throws SQLException;

	List<PropertyDo> queryPropertyByCode(String pCode) throws SQLException;

	List<PropertyDo> queryPropertysByCId(Long cId) throws SQLException;

	int deleteProperty(PropertyDo prDo) throws SQLException;

}